package com.iplant.basic.service.po.fmc;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iplant.base.po.BasePO;
import com.iplant.base.utils.annotation.po.DBBasePO;
import com.iplant.base.utils.annotation.condition.DBCondition;
import com.iplant.base.utils.annotation.field.DBField;

import java.io.Serializable;

/**
 * 工位资源  弃用
 * 
 * @author ShrisJava
 *
 */
@DBBasePO(TableName = "fmc_resource", CheckName = {"Code", "StationID,Name"}, CodeAuto = true, CodePrefix = "GW-")
public class FMCResource extends BasePO implements Serializable {
    private static final long serialVersionUID = 1L;

    @DBCondition
    @DBField
    public int StationID = 0;

    public String StationCode = "";

    public String StationName = "";

    /**
     * 1 人员 2班组
     */
    public int TypeID = 0;

    /**
     * 班组类型
     */
    public int WorkTypeID = 0;

    public String WorkTypeCode = "";

    public String WorkTypeName = "";

    public int ProductID = 0;

    public String ProductNo = "";

    public String ProductName = "";

    /**
     * 类型对于数据 人员 / 班组
     */
    public int ResourceID = 0;

    @JsonProperty("StationID")
    public int getStationID() {
        return StationID;
    }

    public void setStationID(int stationID) {
        StationID = stationID;
    }

    @JsonProperty("StationName")
    public String getStationName() {
        return StationName;
    }

    public void setStationName(String stationName) {
        StationName = stationName;
    }

    @JsonProperty("StationCode")
    public String getStationCode() {
        return StationCode;
    }

    public void setStationCode(String stationCode) {
        StationCode = stationCode;
    }

    @JsonProperty("WorkTypeCode")
    public String getWorkTypeCode() {
        return WorkTypeCode;
    }

    public void setWorkTypeCode(String workTypeCode) {
        WorkTypeCode = workTypeCode;
    }

    @JsonProperty("WorkTypeName")
    public String getWorkTypeName() {
        return WorkTypeName;
    }

    public void setWorkTypeName(String workTypeName) {
        WorkTypeName = workTypeName;
    }

    @JsonProperty("ProductID")
    public int getProductID() {
        return ProductID;
    }

    public void setProductID(int productID) {
        ProductID = productID;
    }

    @JsonProperty("ProductNo")
    public String getProductNo() {
        return ProductNo;
    }

    public void setProductNo(String productNo) {
        ProductNo = productNo;
    }

    @JsonProperty("ProductName")
    public String getProductName() {
        return ProductName;
    }

    public void setProductName(String productName) {
        ProductName = productName;
    }

    @JsonProperty("ResourceID")
    public int getResourceID() {
        return ResourceID;
    }

    public void setResourceID(int resourceID) {
        ResourceID = resourceID;
    }

    @JsonProperty("TypeID")
    public int getTypeID() {
        return TypeID;
    }

    public void setTypeID(int typeID) {
        TypeID = typeID;
    }

    @JsonProperty("WorkTypeID")
    public int getWorkTypeID() {
        return WorkTypeID;
    }

    public void setWorkTypeID(int workTypeID) {
        WorkTypeID = workTypeID;
    }

}
